package com.yu.mall.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PostSalesExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public PostSalesExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOpenidIsNull() {
            addCriterion("openid is null");
            return (Criteria) this;
        }

        public Criteria andOpenidIsNotNull() {
            addCriterion("openid is not null");
            return (Criteria) this;
        }

        public Criteria andOpenidEqualTo(String value) {
            addCriterion("openid =", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotEqualTo(String value) {
            addCriterion("openid <>", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidGreaterThan(String value) {
            addCriterion("openid >", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidGreaterThanOrEqualTo(String value) {
            addCriterion("openid >=", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidLessThan(String value) {
            addCriterion("openid <", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidLessThanOrEqualTo(String value) {
            addCriterion("openid <=", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidLike(String value) {
            addCriterion("openid like", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotLike(String value) {
            addCriterion("openid not like", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidIn(List<String> values) {
            addCriterion("openid in", values, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotIn(List<String> values) {
            addCriterion("openid not in", values, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidBetween(String value1, String value2) {
            addCriterion("openid between", value1, value2, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotBetween(String value1, String value2) {
            addCriterion("openid not between", value1, value2, "openid");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNull() {
            addCriterion("order_no is null");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNotNull() {
            addCriterion("order_no is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNoEqualTo(String value) {
            addCriterion("order_no =", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotEqualTo(String value) {
            addCriterion("order_no <>", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThan(String value) {
            addCriterion("order_no >", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("order_no >=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThan(String value) {
            addCriterion("order_no <", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanOrEqualTo(String value) {
            addCriterion("order_no <=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLike(String value) {
            addCriterion("order_no like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotLike(String value) {
            addCriterion("order_no not like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoIn(List<String> values) {
            addCriterion("order_no in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotIn(List<String> values) {
            addCriterion("order_no not in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoBetween(String value1, String value2) {
            addCriterion("order_no between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotBetween(String value1, String value2) {
            addCriterion("order_no not between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andJdOrderIdIsNull() {
            addCriterion("jd_order_id is null");
            return (Criteria) this;
        }

        public Criteria andJdOrderIdIsNotNull() {
            addCriterion("jd_order_id is not null");
            return (Criteria) this;
        }

        public Criteria andJdOrderIdEqualTo(String value) {
            addCriterion("jd_order_id =", value, "jdOrderId");
            return (Criteria) this;
        }

        public Criteria andJdOrderIdNotEqualTo(String value) {
            addCriterion("jd_order_id <>", value, "jdOrderId");
            return (Criteria) this;
        }

        public Criteria andJdOrderIdGreaterThan(String value) {
            addCriterion("jd_order_id >", value, "jdOrderId");
            return (Criteria) this;
        }

        public Criteria andJdOrderIdGreaterThanOrEqualTo(String value) {
            addCriterion("jd_order_id >=", value, "jdOrderId");
            return (Criteria) this;
        }

        public Criteria andJdOrderIdLessThan(String value) {
            addCriterion("jd_order_id <", value, "jdOrderId");
            return (Criteria) this;
        }

        public Criteria andJdOrderIdLessThanOrEqualTo(String value) {
            addCriterion("jd_order_id <=", value, "jdOrderId");
            return (Criteria) this;
        }

        public Criteria andJdOrderIdLike(String value) {
            addCriterion("jd_order_id like", value, "jdOrderId");
            return (Criteria) this;
        }

        public Criteria andJdOrderIdNotLike(String value) {
            addCriterion("jd_order_id not like", value, "jdOrderId");
            return (Criteria) this;
        }

        public Criteria andJdOrderIdIn(List<String> values) {
            addCriterion("jd_order_id in", values, "jdOrderId");
            return (Criteria) this;
        }

        public Criteria andJdOrderIdNotIn(List<String> values) {
            addCriterion("jd_order_id not in", values, "jdOrderId");
            return (Criteria) this;
        }

        public Criteria andJdOrderIdBetween(String value1, String value2) {
            addCriterion("jd_order_id between", value1, value2, "jdOrderId");
            return (Criteria) this;
        }

        public Criteria andJdOrderIdNotBetween(String value1, String value2) {
            addCriterion("jd_order_id not between", value1, value2, "jdOrderId");
            return (Criteria) this;
        }

        public Criteria andThirdApplyIdIsNull() {
            addCriterion("third_apply_id is null");
            return (Criteria) this;
        }

        public Criteria andThirdApplyIdIsNotNull() {
            addCriterion("third_apply_id is not null");
            return (Criteria) this;
        }

        public Criteria andThirdApplyIdEqualTo(String value) {
            addCriterion("third_apply_id =", value, "thirdApplyId");
            return (Criteria) this;
        }

        public Criteria andThirdApplyIdNotEqualTo(String value) {
            addCriterion("third_apply_id <>", value, "thirdApplyId");
            return (Criteria) this;
        }

        public Criteria andThirdApplyIdGreaterThan(String value) {
            addCriterion("third_apply_id >", value, "thirdApplyId");
            return (Criteria) this;
        }

        public Criteria andThirdApplyIdGreaterThanOrEqualTo(String value) {
            addCriterion("third_apply_id >=", value, "thirdApplyId");
            return (Criteria) this;
        }

        public Criteria andThirdApplyIdLessThan(String value) {
            addCriterion("third_apply_id <", value, "thirdApplyId");
            return (Criteria) this;
        }

        public Criteria andThirdApplyIdLessThanOrEqualTo(String value) {
            addCriterion("third_apply_id <=", value, "thirdApplyId");
            return (Criteria) this;
        }

        public Criteria andThirdApplyIdLike(String value) {
            addCriterion("third_apply_id like", value, "thirdApplyId");
            return (Criteria) this;
        }

        public Criteria andThirdApplyIdNotLike(String value) {
            addCriterion("third_apply_id not like", value, "thirdApplyId");
            return (Criteria) this;
        }

        public Criteria andThirdApplyIdIn(List<String> values) {
            addCriterion("third_apply_id in", values, "thirdApplyId");
            return (Criteria) this;
        }

        public Criteria andThirdApplyIdNotIn(List<String> values) {
            addCriterion("third_apply_id not in", values, "thirdApplyId");
            return (Criteria) this;
        }

        public Criteria andThirdApplyIdBetween(String value1, String value2) {
            addCriterion("third_apply_id between", value1, value2, "thirdApplyId");
            return (Criteria) this;
        }

        public Criteria andThirdApplyIdNotBetween(String value1, String value2) {
            addCriterion("third_apply_id not between", value1, value2, "thirdApplyId");
            return (Criteria) this;
        }

        public Criteria andSkuIdIsNull() {
            addCriterion("sku_id is null");
            return (Criteria) this;
        }

        public Criteria andSkuIdIsNotNull() {
            addCriterion("sku_id is not null");
            return (Criteria) this;
        }

        public Criteria andSkuIdEqualTo(String value) {
            addCriterion("sku_id =", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdNotEqualTo(String value) {
            addCriterion("sku_id <>", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdGreaterThan(String value) {
            addCriterion("sku_id >", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdGreaterThanOrEqualTo(String value) {
            addCriterion("sku_id >=", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdLessThan(String value) {
            addCriterion("sku_id <", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdLessThanOrEqualTo(String value) {
            addCriterion("sku_id <=", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdLike(String value) {
            addCriterion("sku_id like", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdNotLike(String value) {
            addCriterion("sku_id not like", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdIn(List<String> values) {
            addCriterion("sku_id in", values, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdNotIn(List<String> values) {
            addCriterion("sku_id not in", values, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdBetween(String value1, String value2) {
            addCriterion("sku_id between", value1, value2, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdNotBetween(String value1, String value2) {
            addCriterion("sku_id not between", value1, value2, "skuId");
            return (Criteria) this;
        }

        public Criteria andNumIsNull() {
            addCriterion("num is null");
            return (Criteria) this;
        }

        public Criteria andNumIsNotNull() {
            addCriterion("num is not null");
            return (Criteria) this;
        }

        public Criteria andNumEqualTo(Integer value) {
            addCriterion("num =", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotEqualTo(Integer value) {
            addCriterion("num <>", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumGreaterThan(Integer value) {
            addCriterion("num >", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("num >=", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumLessThan(Integer value) {
            addCriterion("num <", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumLessThanOrEqualTo(Integer value) {
            addCriterion("num <=", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumIn(List<Integer> values) {
            addCriterion("num in", values, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotIn(List<Integer> values) {
            addCriterion("num not in", values, "num");
            return (Criteria) this;
        }

        public Criteria andNumBetween(Integer value1, Integer value2) {
            addCriterion("num between", value1, value2, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotBetween(Integer value1, Integer value2) {
            addCriterion("num not between", value1, value2, "num");
            return (Criteria) this;
        }

        public Criteria andJdPriceIsNull() {
            addCriterion("jd_price is null");
            return (Criteria) this;
        }

        public Criteria andJdPriceIsNotNull() {
            addCriterion("jd_price is not null");
            return (Criteria) this;
        }

        public Criteria andJdPriceEqualTo(BigDecimal value) {
            addCriterion("jd_price =", value, "jdPrice");
            return (Criteria) this;
        }

        public Criteria andJdPriceNotEqualTo(BigDecimal value) {
            addCriterion("jd_price <>", value, "jdPrice");
            return (Criteria) this;
        }

        public Criteria andJdPriceGreaterThan(BigDecimal value) {
            addCriterion("jd_price >", value, "jdPrice");
            return (Criteria) this;
        }

        public Criteria andJdPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("jd_price >=", value, "jdPrice");
            return (Criteria) this;
        }

        public Criteria andJdPriceLessThan(BigDecimal value) {
            addCriterion("jd_price <", value, "jdPrice");
            return (Criteria) this;
        }

        public Criteria andJdPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("jd_price <=", value, "jdPrice");
            return (Criteria) this;
        }

        public Criteria andJdPriceIn(List<BigDecimal> values) {
            addCriterion("jd_price in", values, "jdPrice");
            return (Criteria) this;
        }

        public Criteria andJdPriceNotIn(List<BigDecimal> values) {
            addCriterion("jd_price not in", values, "jdPrice");
            return (Criteria) this;
        }

        public Criteria andJdPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("jd_price between", value1, value2, "jdPrice");
            return (Criteria) this;
        }

        public Criteria andJdPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("jd_price not between", value1, value2, "jdPrice");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("`name` is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("`name` is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("`name` =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("`name` <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("`name` >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("`name` >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("`name` <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("`name` <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("`name` like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("`name` not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("`name` in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("`name` not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("`name` between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("`name` not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andImagePathIsNull() {
            addCriterion("image_path is null");
            return (Criteria) this;
        }

        public Criteria andImagePathIsNotNull() {
            addCriterion("image_path is not null");
            return (Criteria) this;
        }

        public Criteria andImagePathEqualTo(String value) {
            addCriterion("image_path =", value, "imagePath");
            return (Criteria) this;
        }

        public Criteria andImagePathNotEqualTo(String value) {
            addCriterion("image_path <>", value, "imagePath");
            return (Criteria) this;
        }

        public Criteria andImagePathGreaterThan(String value) {
            addCriterion("image_path >", value, "imagePath");
            return (Criteria) this;
        }

        public Criteria andImagePathGreaterThanOrEqualTo(String value) {
            addCriterion("image_path >=", value, "imagePath");
            return (Criteria) this;
        }

        public Criteria andImagePathLessThan(String value) {
            addCriterion("image_path <", value, "imagePath");
            return (Criteria) this;
        }

        public Criteria andImagePathLessThanOrEqualTo(String value) {
            addCriterion("image_path <=", value, "imagePath");
            return (Criteria) this;
        }

        public Criteria andImagePathLike(String value) {
            addCriterion("image_path like", value, "imagePath");
            return (Criteria) this;
        }

        public Criteria andImagePathNotLike(String value) {
            addCriterion("image_path not like", value, "imagePath");
            return (Criteria) this;
        }

        public Criteria andImagePathIn(List<String> values) {
            addCriterion("image_path in", values, "imagePath");
            return (Criteria) this;
        }

        public Criteria andImagePathNotIn(List<String> values) {
            addCriterion("image_path not in", values, "imagePath");
            return (Criteria) this;
        }

        public Criteria andImagePathBetween(String value1, String value2) {
            addCriterion("image_path between", value1, value2, "imagePath");
            return (Criteria) this;
        }

        public Criteria andImagePathNotBetween(String value1, String value2) {
            addCriterion("image_path not between", value1, value2, "imagePath");
            return (Criteria) this;
        }

        public Criteria andBrandIsNull() {
            addCriterion("brand is null");
            return (Criteria) this;
        }

        public Criteria andBrandIsNotNull() {
            addCriterion("brand is not null");
            return (Criteria) this;
        }

        public Criteria andBrandEqualTo(String value) {
            addCriterion("brand =", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotEqualTo(String value) {
            addCriterion("brand <>", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandGreaterThan(String value) {
            addCriterion("brand >", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandGreaterThanOrEqualTo(String value) {
            addCriterion("brand >=", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLessThan(String value) {
            addCriterion("brand <", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLessThanOrEqualTo(String value) {
            addCriterion("brand <=", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLike(String value) {
            addCriterion("brand like", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotLike(String value) {
            addCriterion("brand not like", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandIn(List<String> values) {
            addCriterion("brand in", values, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotIn(List<String> values) {
            addCriterion("brand not in", values, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandBetween(String value1, String value2) {
            addCriterion("brand between", value1, value2, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotBetween(String value1, String value2) {
            addCriterion("brand not between", value1, value2, "brand");
            return (Criteria) this;
        }

        public Criteria andSkuNameIsNull() {
            addCriterion("sku_name is null");
            return (Criteria) this;
        }

        public Criteria andSkuNameIsNotNull() {
            addCriterion("sku_name is not null");
            return (Criteria) this;
        }

        public Criteria andSkuNameEqualTo(String value) {
            addCriterion("sku_name =", value, "skuName");
            return (Criteria) this;
        }

        public Criteria andSkuNameNotEqualTo(String value) {
            addCriterion("sku_name <>", value, "skuName");
            return (Criteria) this;
        }

        public Criteria andSkuNameGreaterThan(String value) {
            addCriterion("sku_name >", value, "skuName");
            return (Criteria) this;
        }

        public Criteria andSkuNameGreaterThanOrEqualTo(String value) {
            addCriterion("sku_name >=", value, "skuName");
            return (Criteria) this;
        }

        public Criteria andSkuNameLessThan(String value) {
            addCriterion("sku_name <", value, "skuName");
            return (Criteria) this;
        }

        public Criteria andSkuNameLessThanOrEqualTo(String value) {
            addCriterion("sku_name <=", value, "skuName");
            return (Criteria) this;
        }

        public Criteria andSkuNameLike(String value) {
            addCriterion("sku_name like", value, "skuName");
            return (Criteria) this;
        }

        public Criteria andSkuNameNotLike(String value) {
            addCriterion("sku_name not like", value, "skuName");
            return (Criteria) this;
        }

        public Criteria andSkuNameIn(List<String> values) {
            addCriterion("sku_name in", values, "skuName");
            return (Criteria) this;
        }

        public Criteria andSkuNameNotIn(List<String> values) {
            addCriterion("sku_name not in", values, "skuName");
            return (Criteria) this;
        }

        public Criteria andSkuNameBetween(String value1, String value2) {
            addCriterion("sku_name between", value1, value2, "skuName");
            return (Criteria) this;
        }

        public Criteria andSkuNameNotBetween(String value1, String value2) {
            addCriterion("sku_name not between", value1, value2, "skuName");
            return (Criteria) this;
        }

        public Criteria andCustomerExpectIsNull() {
            addCriterion("customer_expect is null");
            return (Criteria) this;
        }

        public Criteria andCustomerExpectIsNotNull() {
            addCriterion("customer_expect is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerExpectEqualTo(String value) {
            addCriterion("customer_expect =", value, "customerExpect");
            return (Criteria) this;
        }

        public Criteria andCustomerExpectNotEqualTo(String value) {
            addCriterion("customer_expect <>", value, "customerExpect");
            return (Criteria) this;
        }

        public Criteria andCustomerExpectGreaterThan(String value) {
            addCriterion("customer_expect >", value, "customerExpect");
            return (Criteria) this;
        }

        public Criteria andCustomerExpectGreaterThanOrEqualTo(String value) {
            addCriterion("customer_expect >=", value, "customerExpect");
            return (Criteria) this;
        }

        public Criteria andCustomerExpectLessThan(String value) {
            addCriterion("customer_expect <", value, "customerExpect");
            return (Criteria) this;
        }

        public Criteria andCustomerExpectLessThanOrEqualTo(String value) {
            addCriterion("customer_expect <=", value, "customerExpect");
            return (Criteria) this;
        }

        public Criteria andCustomerExpectLike(String value) {
            addCriterion("customer_expect like", value, "customerExpect");
            return (Criteria) this;
        }

        public Criteria andCustomerExpectNotLike(String value) {
            addCriterion("customer_expect not like", value, "customerExpect");
            return (Criteria) this;
        }

        public Criteria andCustomerExpectIn(List<String> values) {
            addCriterion("customer_expect in", values, "customerExpect");
            return (Criteria) this;
        }

        public Criteria andCustomerExpectNotIn(List<String> values) {
            addCriterion("customer_expect not in", values, "customerExpect");
            return (Criteria) this;
        }

        public Criteria andCustomerExpectBetween(String value1, String value2) {
            addCriterion("customer_expect between", value1, value2, "customerExpect");
            return (Criteria) this;
        }

        public Criteria andCustomerExpectNotBetween(String value1, String value2) {
            addCriterion("customer_expect not between", value1, value2, "customerExpect");
            return (Criteria) this;
        }

        public Criteria andPickupWareTypeIsNull() {
            addCriterion("pickup_ware_type is null");
            return (Criteria) this;
        }

        public Criteria andPickupWareTypeIsNotNull() {
            addCriterion("pickup_ware_type is not null");
            return (Criteria) this;
        }

        public Criteria andPickupWareTypeEqualTo(String value) {
            addCriterion("pickup_ware_type =", value, "pickupWareType");
            return (Criteria) this;
        }

        public Criteria andPickupWareTypeNotEqualTo(String value) {
            addCriterion("pickup_ware_type <>", value, "pickupWareType");
            return (Criteria) this;
        }

        public Criteria andPickupWareTypeGreaterThan(String value) {
            addCriterion("pickup_ware_type >", value, "pickupWareType");
            return (Criteria) this;
        }

        public Criteria andPickupWareTypeGreaterThanOrEqualTo(String value) {
            addCriterion("pickup_ware_type >=", value, "pickupWareType");
            return (Criteria) this;
        }

        public Criteria andPickupWareTypeLessThan(String value) {
            addCriterion("pickup_ware_type <", value, "pickupWareType");
            return (Criteria) this;
        }

        public Criteria andPickupWareTypeLessThanOrEqualTo(String value) {
            addCriterion("pickup_ware_type <=", value, "pickupWareType");
            return (Criteria) this;
        }

        public Criteria andPickupWareTypeLike(String value) {
            addCriterion("pickup_ware_type like", value, "pickupWareType");
            return (Criteria) this;
        }

        public Criteria andPickupWareTypeNotLike(String value) {
            addCriterion("pickup_ware_type not like", value, "pickupWareType");
            return (Criteria) this;
        }

        public Criteria andPickupWareTypeIn(List<String> values) {
            addCriterion("pickup_ware_type in", values, "pickupWareType");
            return (Criteria) this;
        }

        public Criteria andPickupWareTypeNotIn(List<String> values) {
            addCriterion("pickup_ware_type not in", values, "pickupWareType");
            return (Criteria) this;
        }

        public Criteria andPickupWareTypeBetween(String value1, String value2) {
            addCriterion("pickup_ware_type between", value1, value2, "pickupWareType");
            return (Criteria) this;
        }

        public Criteria andPickupWareTypeNotBetween(String value1, String value2) {
            addCriterion("pickup_ware_type not between", value1, value2, "pickupWareType");
            return (Criteria) this;
        }

        public Criteria andQjAddressIdIsNull() {
            addCriterion("qj_address_id is null");
            return (Criteria) this;
        }

        public Criteria andQjAddressIdIsNotNull() {
            addCriterion("qj_address_id is not null");
            return (Criteria) this;
        }

        public Criteria andQjAddressIdEqualTo(String value) {
            addCriterion("qj_address_id =", value, "qjAddressId");
            return (Criteria) this;
        }

        public Criteria andQjAddressIdNotEqualTo(String value) {
            addCriterion("qj_address_id <>", value, "qjAddressId");
            return (Criteria) this;
        }

        public Criteria andQjAddressIdGreaterThan(String value) {
            addCriterion("qj_address_id >", value, "qjAddressId");
            return (Criteria) this;
        }

        public Criteria andQjAddressIdGreaterThanOrEqualTo(String value) {
            addCriterion("qj_address_id >=", value, "qjAddressId");
            return (Criteria) this;
        }

        public Criteria andQjAddressIdLessThan(String value) {
            addCriterion("qj_address_id <", value, "qjAddressId");
            return (Criteria) this;
        }

        public Criteria andQjAddressIdLessThanOrEqualTo(String value) {
            addCriterion("qj_address_id <=", value, "qjAddressId");
            return (Criteria) this;
        }

        public Criteria andQjAddressIdLike(String value) {
            addCriterion("qj_address_id like", value, "qjAddressId");
            return (Criteria) this;
        }

        public Criteria andQjAddressIdNotLike(String value) {
            addCriterion("qj_address_id not like", value, "qjAddressId");
            return (Criteria) this;
        }

        public Criteria andQjAddressIdIn(List<String> values) {
            addCriterion("qj_address_id in", values, "qjAddressId");
            return (Criteria) this;
        }

        public Criteria andQjAddressIdNotIn(List<String> values) {
            addCriterion("qj_address_id not in", values, "qjAddressId");
            return (Criteria) this;
        }

        public Criteria andQjAddressIdBetween(String value1, String value2) {
            addCriterion("qj_address_id between", value1, value2, "qjAddressId");
            return (Criteria) this;
        }

        public Criteria andQjAddressIdNotBetween(String value1, String value2) {
            addCriterion("qj_address_id not between", value1, value2, "qjAddressId");
            return (Criteria) this;
        }

        public Criteria andQuestionDescIsNull() {
            addCriterion("question_desc is null");
            return (Criteria) this;
        }

        public Criteria andQuestionDescIsNotNull() {
            addCriterion("question_desc is not null");
            return (Criteria) this;
        }

        public Criteria andQuestionDescEqualTo(String value) {
            addCriterion("question_desc =", value, "questionDesc");
            return (Criteria) this;
        }

        public Criteria andQuestionDescNotEqualTo(String value) {
            addCriterion("question_desc <>", value, "questionDesc");
            return (Criteria) this;
        }

        public Criteria andQuestionDescGreaterThan(String value) {
            addCriterion("question_desc >", value, "questionDesc");
            return (Criteria) this;
        }

        public Criteria andQuestionDescGreaterThanOrEqualTo(String value) {
            addCriterion("question_desc >=", value, "questionDesc");
            return (Criteria) this;
        }

        public Criteria andQuestionDescLessThan(String value) {
            addCriterion("question_desc <", value, "questionDesc");
            return (Criteria) this;
        }

        public Criteria andQuestionDescLessThanOrEqualTo(String value) {
            addCriterion("question_desc <=", value, "questionDesc");
            return (Criteria) this;
        }

        public Criteria andQuestionDescLike(String value) {
            addCriterion("question_desc like", value, "questionDesc");
            return (Criteria) this;
        }

        public Criteria andQuestionDescNotLike(String value) {
            addCriterion("question_desc not like", value, "questionDesc");
            return (Criteria) this;
        }

        public Criteria andQuestionDescIn(List<String> values) {
            addCriterion("question_desc in", values, "questionDesc");
            return (Criteria) this;
        }

        public Criteria andQuestionDescNotIn(List<String> values) {
            addCriterion("question_desc not in", values, "questionDesc");
            return (Criteria) this;
        }

        public Criteria andQuestionDescBetween(String value1, String value2) {
            addCriterion("question_desc between", value1, value2, "questionDesc");
            return (Criteria) this;
        }

        public Criteria andQuestionDescNotBetween(String value1, String value2) {
            addCriterion("question_desc not between", value1, value2, "questionDesc");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("`status` is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("`status` is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("`status` =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("`status` <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("`status` >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("`status` >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("`status` <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("`status` <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("`status` like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("`status` not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("`status` in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("`status` not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("`status` between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("`status` not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andApplyStepIsNull() {
            addCriterion("apply_step is null");
            return (Criteria) this;
        }

        public Criteria andApplyStepIsNotNull() {
            addCriterion("apply_step is not null");
            return (Criteria) this;
        }

        public Criteria andApplyStepEqualTo(String value) {
            addCriterion("apply_step =", value, "applyStep");
            return (Criteria) this;
        }

        public Criteria andApplyStepNotEqualTo(String value) {
            addCriterion("apply_step <>", value, "applyStep");
            return (Criteria) this;
        }

        public Criteria andApplyStepGreaterThan(String value) {
            addCriterion("apply_step >", value, "applyStep");
            return (Criteria) this;
        }

        public Criteria andApplyStepGreaterThanOrEqualTo(String value) {
            addCriterion("apply_step >=", value, "applyStep");
            return (Criteria) this;
        }

        public Criteria andApplyStepLessThan(String value) {
            addCriterion("apply_step <", value, "applyStep");
            return (Criteria) this;
        }

        public Criteria andApplyStepLessThanOrEqualTo(String value) {
            addCriterion("apply_step <=", value, "applyStep");
            return (Criteria) this;
        }

        public Criteria andApplyStepLike(String value) {
            addCriterion("apply_step like", value, "applyStep");
            return (Criteria) this;
        }

        public Criteria andApplyStepNotLike(String value) {
            addCriterion("apply_step not like", value, "applyStep");
            return (Criteria) this;
        }

        public Criteria andApplyStepIn(List<String> values) {
            addCriterion("apply_step in", values, "applyStep");
            return (Criteria) this;
        }

        public Criteria andApplyStepNotIn(List<String> values) {
            addCriterion("apply_step not in", values, "applyStep");
            return (Criteria) this;
        }

        public Criteria andApplyStepBetween(String value1, String value2) {
            addCriterion("apply_step between", value1, value2, "applyStep");
            return (Criteria) this;
        }

        public Criteria andApplyStepNotBetween(String value1, String value2) {
            addCriterion("apply_step not between", value1, value2, "applyStep");
            return (Criteria) this;
        }

        public Criteria andIsNeedOtherLogisticsIsNull() {
            addCriterion("is_need_other_logistics is null");
            return (Criteria) this;
        }

        public Criteria andIsNeedOtherLogisticsIsNotNull() {
            addCriterion("is_need_other_logistics is not null");
            return (Criteria) this;
        }

        public Criteria andIsNeedOtherLogisticsEqualTo(Boolean value) {
            addCriterion("is_need_other_logistics =", value, "isNeedOtherLogistics");
            return (Criteria) this;
        }

        public Criteria andIsNeedOtherLogisticsNotEqualTo(Boolean value) {
            addCriterion("is_need_other_logistics <>", value, "isNeedOtherLogistics");
            return (Criteria) this;
        }

        public Criteria andIsNeedOtherLogisticsGreaterThan(Boolean value) {
            addCriterion("is_need_other_logistics >", value, "isNeedOtherLogistics");
            return (Criteria) this;
        }

        public Criteria andIsNeedOtherLogisticsGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_need_other_logistics >=", value, "isNeedOtherLogistics");
            return (Criteria) this;
        }

        public Criteria andIsNeedOtherLogisticsLessThan(Boolean value) {
            addCriterion("is_need_other_logistics <", value, "isNeedOtherLogistics");
            return (Criteria) this;
        }

        public Criteria andIsNeedOtherLogisticsLessThanOrEqualTo(Boolean value) {
            addCriterion("is_need_other_logistics <=", value, "isNeedOtherLogistics");
            return (Criteria) this;
        }

        public Criteria andIsNeedOtherLogisticsIn(List<Boolean> values) {
            addCriterion("is_need_other_logistics in", values, "isNeedOtherLogistics");
            return (Criteria) this;
        }

        public Criteria andIsNeedOtherLogisticsNotIn(List<Boolean> values) {
            addCriterion("is_need_other_logistics not in", values, "isNeedOtherLogistics");
            return (Criteria) this;
        }

        public Criteria andIsNeedOtherLogisticsBetween(Boolean value1, Boolean value2) {
            addCriterion("is_need_other_logistics between", value1, value2, "isNeedOtherLogistics");
            return (Criteria) this;
        }

        public Criteria andIsNeedOtherLogisticsNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_need_other_logistics not between", value1, value2, "isNeedOtherLogistics");
            return (Criteria) this;
        }

        public Criteria andIsSubmitOtherLogisticsIsNull() {
            addCriterion("is_submit_other_logistics is null");
            return (Criteria) this;
        }

        public Criteria andIsSubmitOtherLogisticsIsNotNull() {
            addCriterion("is_submit_other_logistics is not null");
            return (Criteria) this;
        }

        public Criteria andIsSubmitOtherLogisticsEqualTo(Boolean value) {
            addCriterion("is_submit_other_logistics =", value, "isSubmitOtherLogistics");
            return (Criteria) this;
        }

        public Criteria andIsSubmitOtherLogisticsNotEqualTo(Boolean value) {
            addCriterion("is_submit_other_logistics <>", value, "isSubmitOtherLogistics");
            return (Criteria) this;
        }

        public Criteria andIsSubmitOtherLogisticsGreaterThan(Boolean value) {
            addCriterion("is_submit_other_logistics >", value, "isSubmitOtherLogistics");
            return (Criteria) this;
        }

        public Criteria andIsSubmitOtherLogisticsGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_submit_other_logistics >=", value, "isSubmitOtherLogistics");
            return (Criteria) this;
        }

        public Criteria andIsSubmitOtherLogisticsLessThan(Boolean value) {
            addCriterion("is_submit_other_logistics <", value, "isSubmitOtherLogistics");
            return (Criteria) this;
        }

        public Criteria andIsSubmitOtherLogisticsLessThanOrEqualTo(Boolean value) {
            addCriterion("is_submit_other_logistics <=", value, "isSubmitOtherLogistics");
            return (Criteria) this;
        }

        public Criteria andIsSubmitOtherLogisticsIn(List<Boolean> values) {
            addCriterion("is_submit_other_logistics in", values, "isSubmitOtherLogistics");
            return (Criteria) this;
        }

        public Criteria andIsSubmitOtherLogisticsNotIn(List<Boolean> values) {
            addCriterion("is_submit_other_logistics not in", values, "isSubmitOtherLogistics");
            return (Criteria) this;
        }

        public Criteria andIsSubmitOtherLogisticsBetween(Boolean value1, Boolean value2) {
            addCriterion("is_submit_other_logistics between", value1, value2, "isSubmitOtherLogistics");
            return (Criteria) this;
        }

        public Criteria andIsSubmitOtherLogisticsNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_submit_other_logistics not between", value1, value2, "isSubmitOtherLogistics");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeIsNull() {
            addCriterion("create_datetime is null");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeIsNotNull() {
            addCriterion("create_datetime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeEqualTo(Date value) {
            addCriterion("create_datetime =", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeNotEqualTo(Date value) {
            addCriterion("create_datetime <>", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeGreaterThan(Date value) {
            addCriterion("create_datetime >", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_datetime >=", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeLessThan(Date value) {
            addCriterion("create_datetime <", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeLessThanOrEqualTo(Date value) {
            addCriterion("create_datetime <=", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeIn(List<Date> values) {
            addCriterion("create_datetime in", values, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeNotIn(List<Date> values) {
            addCriterion("create_datetime not in", values, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeBetween(Date value1, Date value2) {
            addCriterion("create_datetime between", value1, value2, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeNotBetween(Date value1, Date value2) {
            addCriterion("create_datetime not between", value1, value2, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeIsNull() {
            addCriterion("update_datetime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeIsNotNull() {
            addCriterion("update_datetime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeEqualTo(Date value) {
            addCriterion("update_datetime =", value, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeNotEqualTo(Date value) {
            addCriterion("update_datetime <>", value, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeGreaterThan(Date value) {
            addCriterion("update_datetime >", value, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_datetime >=", value, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeLessThan(Date value) {
            addCriterion("update_datetime <", value, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeLessThanOrEqualTo(Date value) {
            addCriterion("update_datetime <=", value, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeIn(List<Date> values) {
            addCriterion("update_datetime in", values, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeNotIn(List<Date> values) {
            addCriterion("update_datetime not in", values, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeBetween(Date value1, Date value2) {
            addCriterion("update_datetime between", value1, value2, "updateDatetime");
            return (Criteria) this;
        }

        public Criteria andUpdateDatetimeNotBetween(Date value1, Date value2) {
            addCriterion("update_datetime not between", value1, value2, "updateDatetime");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}